﻿import { ISysGroup, ISysOrg } from '/@/views/fileattachment/api/interface'

export interface ISysHrResignRequestBill {
  PersonId: string | null;
  ID?: string | null;
  StaffNo: string | null;
  Name: string | null;
  ResignType: '主动离职' | null;
  ResignDate: Date | null;
  ResignReason: string | null;
  Approver: string | null;
  ApprovalTime: Date | null;
  GroupId: string | null;
  Group?: ISysGroup;
  BillCode: string | null;
  BillStatus: number | null | string;
  WorkflowStatus: number | null | string;
  Remark: string | null
  OrgId: string | null;
  Org?: ISysOrg;
}

export interface ISysHrResignRequestBillVm {
  Entity: ISysHrResignRequestBill;
  ActionName: string | null;
  IsMyApprove: boolean | null;
  Remark: string | null;
}

export interface ISysHrResignRequestBillView extends ISysHrResignRequestBill {

  ActionNames?: string;

}

export interface ISysHrResignRequestBillQuery {
  StaffNo?: string
  Name?: string
  ResignType?: '主动离职'
  ResignDate?: Date
  ResignReason?: string
  Approver?: string
  ApprovalTime?: Date
  GroupId?: string
  BillCode?: string
  BillStatus?: number
  WorkflowStatus?: number
}